﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Model;
using Model.Entities;
using Model.Repositories;

namespace Winter.Sites.Admin.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            //WinterContext context = new WinterContext();
            //context.Pages.Add(new Page() { Title = "123" });
            //context.SaveChanges();  
            //var page = DataRepository.GetPageByID(1);
            //page.Title = "edited";
            //DataRepository.UpdateData(page);
            //page = DataRepository.GetPageByID(1);
            return View();
        }

    }
}
